package org.hongmeng.service;

import org.hongmeng.entity.Meeting;
import org.hongmeng.entity.MeetingParticipant;

import java.util.List;

public interface MeetingService {
    Meeting createMeeting(Meeting meeting);
    
    Meeting getMeetingByNo(String meetingNo);
    
    List<Meeting> getMeetingsByCreator(Long creatorId);
    
    void updateMeeting(Meeting meeting);
    
    void joinMeeting(String meetingNo, Long userId);
    
    void leaveMeeting(String meetingNo, Long userId);
    
    List<MeetingParticipant> getMeetingParticipants(Long meetingId);
    
    List<Meeting> getJoinedMeetings(Long userId);
} 